
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false"%>
<html>
<head>
    <meta charset="UTF-8">
    <title>添加地址</title>
    <link rel="stylesheet" href="style/First_Page.css"/>
    <link rel="stylesheet" href="style/Add_Address.css"/>
    <script type="text/javascript" src="js/Add_Address.js"></script>
    <script src="http://code.jquery.com/jquery-latest.js"></script>
    <script type="text/javascript">
        window.onload=function () {
            var a ="${sessionScope.login}";
            if(a=="1"){
                document.getElementById("login").style.display="none";
                document.getElementById("avatar").style.display="inline";
                document.getElementById("buy_car").style.display="inline";
                document.getElementById("car_image").style.display="inline";
                document.getElementById("exit").style.display="inline"

            }
            else{
                document.getElementById("login").style.display="inline";
                document.getElementById("avatar").style.display="none";
                document.getElementById("buy_car").style.display="none";
                document.getElementById("car_image").style.display="none";
                document.getElementById("exit").style.display="none"

            }
        }
    </script>
</head>
<body>
<div id="main_head_box">
    <div class="head_box">
        <div id="head_wrap">
            <div id="head_right">
                <div id="head_landing">
                    <a id="login" class="head_nav_a" href="Login.html" style="display: inline;">登陆/注册</a>
                    <a href="Self_Information.jsp"><img src="${sessionScope.user.avatar}" id="avatar" style="display: none;height:30px;width:30px;border-radius: 45px;margin-right:50px;margin-top: 5px;"></a>
                    <a id="exit" style="display: none;float:right;margin-left:15px;" href="First_Page.jsp" onclick="login2exit()">注销</a>
                    <img src="image/buy_car.jpg" style="display:none;height:30px;width:30px;border-radius: 90px" id="car_image">
                    <a id="buy_car" class="head_nav_a" style="display: block;float:right;margin-left:5px;" href="Buy_Car.jsp">购物车</a>
                </div>
            </div>
        </div>
    </div>
    <div id="menu_wrap">
        <p id="menu_logo">读了么 <i>DuLeMe.com</i></p>
        <div id="find_wrap">
            <div id="find_bar">
                <input type="text" id="find_input">
            </div>
            <div id="find_but">GO</div>
        </div>
    </div>
</div>
<div id="Send_Address">
    <div id="Send_Address_Title">
        <p>添加配送信息</p>
    </div>
    <div id="Send_Address_Main">
        <input type="text" id="name" placeholder="收货人" class="Add_input">
        <input type="text" id="phoneNumber" placeholder="手机号码" class="Add_input">
        <input type="text" id="country" placeholder="所在国家" class="Add_input">
        <input type="text" id="province" placeholder="所在省份" class="Add_input">
        <input type="text" id="city" placeholder="所在城市" class="Add_input">
        <input type="text" id="county" placeholder="所在地区" class="Add_input">
        <input type="text" id="street" placeholder="所在街道" class="Add_input">
        <input type="text" id="address" placeholder="详细地址" class="Add_input">
    </div>
    <div id="total">
        <input type="button" id="buy_button" value="确定" onclick="send_Address()">
    </div>
</div>
<div id="foot_box">
    <div id="foot_wrap">
        <div class="foot_top">
            <ul>
                <li><a href="Self_Information.jsp">个人信息设置</a></li>
                <li class="font_top_i">|</li>
                <li><a href="First_Page.jsp">返回首页</a></li>
                <li class="font_top_i">|</li>
                <li>用户购物指南</li>
                <li class="font_top_i">|</li>
                <li><a href="user_Agreement.html">用户协议须知</a></li>
            </ul>
        </div>
        <div class="foot_bottom">
            <span> <a href="">返回顶部</a></span>
        </div>
    </div>
</div>
</body>
</html>
